package org.example.shop_front_api.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.example.shop_front_api.entity.ApiAccount;

/**
 * 账号mapper类
 */
@Mapper
public interface ApiAccountMapper {
    //新增账号
    public int insertAccount(ApiAccount account);
    //根据用户名查询账号信息
    public ApiAccount getAccountByUsername(String username);
    //修改账号状态
    public int updateApiAccountEnabled(int id,int enabled);
}


